package com.spring.arch.operation.tenant.web.dto;

import com.spring.arch.common.dto.AbstractAuditableDTO;
import com.spring.arch.common.dto.AbstractAuditableDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 租客发票信息
 * @author Frank
 * @version 1.0.0
 * @since 2020/3/23
 */
@NoArgsConstructor
@Getter
@Setter
public class WebLesseeInvoiceDTO extends AbstractAuditableDTO {

    /**
     * 开票信息单位名称
     */
    @ApiModelProperty(value="发票抬头")
    @Size(max = 64)
    private String companyName;

    /**
     * 税号
     */
    @ApiModelProperty(value="纳税人识别号")
    @Size(max = 32)
    private String dutyNo;

    /**
     * 注册地址
     */
    @ApiModelProperty(value="注册地址")
    @Size(max = 128)
    private String registerAddress;

    /**
     * 联系电话
     */
    @ApiModelProperty(value="联系电话")
    @Size(max = 32)
    private String telephone;

    /**
     * 开户行
     */
    @ApiModelProperty(value="开户行")
    @Size(max = 64)
    private String openingBank;

    /**
     * 银行账号
     */
    @ApiModelProperty(value="银行账号")
    @Size(max = 64)
    private String openingBankAccount;

    /**
     * 是否默认
     */
    @ApiModelProperty(value="是否默认")
    @NotNull
    private boolean defaultInvoice;
}
